package cn.xie.sdk.openai.code.review.sdk.infrastructure.openai;

import cn.xie.sdk.openai.code.review.sdk.infrastructure.openai.dto.ChatCompletionRequestDTO;
import cn.xie.sdk.openai.code.review.sdk.infrastructure.openai.dto.ChatCompletionSyncResponseDTO;

/**
 * @author: xiaoxie
 * create: 2025-05-31 15:54
 * @BelongsProject: openai-code-review
 * @BelongsPackage: cn.xie.sdk.openai.code.review.sdk.infrastructure.openai
 * description:
 */
public interface IOpenAI {
    /**
     * @description: 使用chatglam
     * @author: xiaoxie
     * @date: 2025/5/31 下午3:55
     * @param: [requestDTO]
     * @return: cn.xie.sdk.openai.code.review.sdk.infrastructure.openai.dto.ChatCompletionSyncResponseDTO
     **/
    ChatCompletionSyncResponseDTO completions(ChatCompletionRequestDTO requestDTO) throws Exception;
}
